<?php

use think\Route;

/*token*/
Route::post('api/user', 'api/Login/putUserInfo');
Route::post('api/login', 'api/Login/getToken');

/*category*/
Route::resource('api/category', 'api/category');

/*information*/
Route::resource('api/information', 'api/information');
Route::resource('admin/information', 'admin/information');
/*image*/
Route::resource('api/image', 'api/image');
/*user*/
Route::get('api/userinfo', 'api/user/getUserInfo');


Route::resource('admin/user', 'admin/user');
Route::get('admin/city', 'admin/user/getCityAndProvince');


Route::resource('admin/article', 'admin/article');
Route::resource('api/article', 'api/article');

Route::resource('api/comment', 'api/comment');
Route::resource('admin/comment', 'admin/comment');

Route::resource('admin/banner', 'admin/banner');
Route::resource('api/banner', 'api/banner');


Route::resource('api/weixin', 'api/Weixin');

Route::resource('api/weather', 'api/Weather');

Route::resource('api/price', 'api/price');
Route::resource('admin/price', 'admin/price');

Route::post('api/wxnotice', 'api/order/wxNotice');

Route::resource('api/order', 'api/order');

Route::resource('admin/company', 'admin/company');
Route::resource('api/company', 'api/company');



